package com.slife.serial.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName tb_order
 */
@TableName(value ="tb_order")
public class TbOrder implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private Float outValue = 0.0F;

    /**
     * 
     */
    private String ctime;
    private Boolean flag;

    /**
     * 
     */
    private Float inValue = 0.0F;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 
     */
    public String getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getName() {
        return name;
    }

    /**
     * 
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 
     */
    public Float getOutValue() {
        return outValue;
    }

    /**
     * 
     */
    public void setOutValue(Float outValue) {
        this.outValue = outValue;
    }

    /**
     * 
     */
    public String getCtime() {
        return ctime;
    }

    /**
     * 
     */
    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    /**
     * 
     */
    public Float getInValue() {
        return inValue;
    }

    /**
     * 
     */
    public void setInValue(Float inValue) {
        this.inValue = inValue;
    }

    public Boolean getFlag() {
        return flag;
    }

    public void setFlag(Boolean flag) {
        this.flag = flag;
    }
}